package com.zhijian.medical.entity.po;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.*;
import java.util.Date;

/**
 * 仪器调动记录
 *
 * @author Auto Generator
 * @date 2022-01-01 15:40:34
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Api(tags = "仪器调动记录")
public class DeviceTransferRecord {
    /**
     * id
     */
    @ApiModelProperty(value = "id", hidden = true)
    private Long id;

    /**
     * 移交日期
     */
    @ApiModelProperty("移交日期")
    @NotBlank(message = "移交日期不能为空")
    private String transferDate;

    /**
     * 移交部门
     */
    @ApiModelProperty("移交部门")
    private String transferDepartment;

    /**
     * 移交人
     */
    @ApiModelProperty("移交人")
    private String transferPerson;

    /**
     * 接收部门
     */
    @ApiModelProperty("接收部门")
    private String receiveDepartment;

    /**
     * 接收人
     */
    @ApiModelProperty("接收人")
    private String receivePerson;

    /**
     * 移交状态
     */
    @ApiModelProperty("移交状态")
    private String transferStatus;

    /**
     * 备注
     */
    @ApiModelProperty("备注")
    private String note;

    /**
     * 文件路径
     */
    @ApiModelProperty("文件路径")
    private String filePath;

    /**
     * 设备id
     */
    @ApiModelProperty("设备id")
    @NotNull(message = "设备id不能为空")
    private Long deviceId;

    /**
     * create_time
     */
    @ApiModelProperty(value = "create_time", hidden = true)
    private Date createTime;

    /**
     * update_time
     */
    @ApiModelProperty(value = "update_time", hidden = true)
    private Date updateTime;
}